"""
"The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/

Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
License for the specific language governing rights and limitations
under the License.

The Original Code is rpg-textengine (http://code.google.com/p/rpg-textengine/).

The Initial Developer of the Original Code is Devin Jeanpierre (jeanpierreda@gmail.com).

Contributor(s): 
(none)
."
"""
#This is the random module.

import enemies, copy

def enemy(**keywords):
    """
    This creates a random enemy. In each argument, this is what each value means
        test -- '>', '<', or '='. This is provided for number values, saying whether it should be more than, less than, or equal to the desired amount.
        Stest -- '-', '+', or '='. This determines whether you CANNOT have the value(s) listed, MUST have the value(s) listed, or MUST ONLY have the value(s) listed
    You can provide these args.
    Name= the name of the random enemy
    HP= (test, HP of random enemy)
    TP= (test, TP of random enemy)
    Defense= (test, Defense of random enemy)
    BMelee= (test, Melee of random enemy)
    BRanged= (test, Ranged of random enemy)
    Equipped= equipped weapon #This MUST be in the Equipment section
    Equipment= (Stest, equipment dictionary)
    spec= (Stest, specATK list)
    Bio= Biography string
    """
    enemy = copy.deepcopy(enemies.empty)
    for key in keywords.keys():
        if key = "HP":
            pass
        elif key = "TP":
            pass
        elif key = "Defense":
            pass
        elif key = "BMelee":
            pass
        elif key = "BRanged":
            pass
        elif key = "Equipped"
            pass
        elif key = "Equipment":
            pass
        elif key = "spec":
            pass
        elif key = "Bio":
            enemy[key] = keywords[key]
